<?php if(!($_SESSION['userid'] > 0)): ?>
<form <?php if($ac->getSetting('login-action') != '') echo 'action="'.$ac->getSetting('login-action').'"'; ?> id="<?php echo $com->Id; ?>_login_user" method="post" enctype="multipart/form-data">
   <?php 
   	$form = $ac->getForms('login');
   	unset($form->Fields['submit']);
	unset($form->Fields['forgot']);
   	echo $form->getFieldsHTML();
	?>
   <button class="btn btn-primary btn-large input-large btn-block" type="submit" name="submit"><i class="<?php echo $theme->getIconSetPrefix(); ?>-user"></i> <?php echo ucfirst($txt->getWord('login')); ?></button><br />
   <button class="btn btn-warning" type="button" data-toggle="collapse" data-target="#forgotPassComForm">
		<i class="<?php echo $theme->getIconSetPrefix(); ?>-mail-forward"></i> <?php echo ucfirst($txt->getWord('forgot_password')); ?>
   </button>
</form>
<?php endif; ?>